/*
 * SpringLoadCommand.cpp
 *
 *  Created on: Nov 20, 2008
 *      Author: Ryan
 */

#include "SpringLoadCommand.h"

SpringLoadCommand::SpringLoadCommand( OOInterface::ConstUnitPtr unit ):
	OOInterface::LoadCommand( unit )
{
}

SpringLoadCommand::~SpringLoadCommand()
{
}

::Command* SpringLoadCommand::getCommand() const
{
	::Command* cmd = new ::Command;
	cmd->id = CMD_LOAD_UNITS;

	cmd->params.push_back( getLoadUnit()->getID() );

	return cmd;
}
